﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AspNetCs.Common;
using AspNetCs.Bll;
using AspNetCs.Model;

public partial class AnnounceShow : BasePage
{
    protected int id = 0;
    protected Announce_Model AnMd = new Announce_Model();
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request["id"] != null)
        {
            id = StringHelper.isNumber_int(Request["id"]);
        }
        AnMd = Annouce_Bll.CreatNew.getAnnouceById(id);
        if (AnMd.Id <= 0)
        {
            Response.Write("对不起，当前页面不存在!");
            Response.End();
        }
        Base_CurrPath = configInfo.SiteName + " >>  网站公告";
    }
}
